/* HEADER */

#header {
	background: url("../imgs/topo.png");
	height: 40px;
	background-repeat: repeat-x;
	padding-top: 20px;
	padding-bottom: 20px;
	border-bottom: 10px solid #666;
	width: 100%;
	font-size: 0.75em;
	position: fixed;
	z-index: 100;
	-moz-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
	-o-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

h1 a#logo{
	text-indent: -9999em;
	display: block;
	background: url("../imgs/logo.png");
	width: 150px;
	height: 40px;
	background-position: center center;
	background-repeat: no-repeat;
	margin-left: 20px;
	float: left;
}

#headerright {
	margin-top: 15px;
	margin-right: 20px;
	float: right;
	color: white;
}

/* MENU */

#menu {
/* 	width: 20%; */
	background: #E1E1E1;
/* 	position: fixed; 
	position: relative;
	top:90px;*/
	margin-top: 90px;
	overflow-y: hidden;
	overflow-x: hidden;
	margin-bottom: 30px;
}

.itemmenu {
	height: 28px;
	padding: 10px;
	padding-left: 20px;
	background: url(../imgs/itemmenu.png);
	background-repeat: repeat-x;
	cursor: pointer;
}

.itemmenuicon {
	float: left;
	background-position: center center;
	background-repeat: no-repeat;
	height: 28px;
	width: 32px;
	display: block;
	margin-right: 10px;
}
.itemmenuname {
	color: #666;
	margin:5px;
}

.itemmenu:hover .itemmenuicon {
	margin-left: 5px;
	margin-right: 20px;
}
.itemmenu:hover .itemmenuname {
	color: black;
}

/* MAIN CONTENT */

#mainbackground {
	width: 70%;
	background: url(../imgs/fundo.png);
	-moz-box-shadow: 0 1px 40px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0 1px 40px rgba(0,0,0,0.1);
	-o-box-shadow: 0 1px 40px rgba(0,0,0,0.1);
	box-shadow: 0 1px 40px rgba(0,0,0,0.1);
	border: 1px solid #ccc;
	position: fixed;
	top:90px;
	bottom:0px;
	right:0px;
	padding-right: 5%;
	padding-left: 5%;
	padding-top: 30px;
	padding-bottom: 30px;
}
#maincontent {
	width: 70%;
	position: absolute;
	top:90px;
	right:0px;
	padding-right: 5%;
	padding-left: 5%;
	padding-top: 30px;
	padding-bottom: 30px;
}

/* FOOTER */

#mainbackground:after, #maincontent:after {
	clear: both;
}